package org.jc.auth.application.converter;

import org.jc.auth.application.entity.AuthPermissionDTO;
import org.jc.auth.application.entity.AuthRolePermissionDTO;
import org.jc.auth.domain.entity.AuthPermissionBO;
import org.jc.auth.domain.entity.AuthRolePermissionBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface AuthRolePermissionDTOConverter {

    AuthRolePermissionDTOConverter INSTANCE = Mappers.getMapper(AuthRolePermissionDTOConverter.class);

    AuthRolePermissionBO convertDTOToBO(AuthRolePermissionDTO authRolePermissionDTO);

}
